package org.minbox.framework.microservice.common.entity;

import com.gitee.hengboy.mybatis.enhance.common.annotation.Column;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Id;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Table;
import com.gitee.hengboy.mybatis.enhance.common.enums.KeyGeneratorTypeEnum;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户基本信息
 * @author ApiBoot Mybatis Enhance Codegen
 */
@Data
@Table(name = "user_info")
public class UserInfo implements Serializable {

    /**
     * 
     */
    @Id(generatorType = KeyGeneratorTypeEnum.AUTO)
    @Column(name = "ui_id")
    private Integer id;
    /**
     * 名称
     */
    @Column(name = "ui_name")
    private String name;
    /**
     * 手机号
     */
    @Column(name = "ui_phone")
    private String phone;
    /**
     * 邮箱
     */
    @Column(name = "ui_email")
    private String email;
    /**
     * 地址
     */
    @Column(name = "ui_address")
    private String address;
    /**
     * 状态
     */
    @Column(name = "ui_status")
    private Boolean status;
    /**
     * 创建时间
     */
    @Column(name = "ui_create_time",insertable = false)
    private Timestamp createTime;
}

